<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>simple</title>
        <link rel="stylesheet" href="./css/bootstrap.css" />
        <script src="./js/bootstrap.bundle.js"></script>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
        <link rel="stylesheet" href="./css/bs-slide.css" ></link>
    </head>
    <body>
        <i class="bi-search ty-size"></i>
        <button class="btn btn-success" 
        data-bs-toggle="tooltip"
         data-bs-title="搜索">
            <i class="bi-search"></i>
        </button>
        <!-- 编辑 删除 -->
        <script>
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))

        </script>
    </body>
</html>